<html>
<body>
<p>Reports <code>map</code> and <code>getOrElse(false)</code> / <code>getOrElse(true)</code> and suggests replacing them with
  <code>exists</code> / <code>forall</code>.</p>
<p><b>Example:</b></p>
<pre><code>
  def p(x: Int): Boolean = ???
  Option(0).map(p).getOrElse(false)
  Option(0).map(p).getOrElse(true)
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  def p(x: Int): Boolean = ???
  Option(0).exists(p)
  Option(0).forall(p)
</code></pre>
<!-- tooltip end -->
</body>
</html>